home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
bench
/
x.txt
/
000149_shifeux@hotmail.com_Thu Nov 15 10:48:47 EST 2001.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
4KB
|
106 lines
Article: 12970 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.harvard.edu!purdue!news.bu.edu!micro-heart-of-gold.mit.edu!news-out.nuthinbutnews.com!propagator2-austin!propagator!feed2.newsfeeds.com!newsfeeds.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!newsfeed.berkeley.edu!ucberkeley!news.gv.tsc.tdk.com!sn-xit-02!supernews.com!postnews1.google.com!not-for-mail
From: shifeux@hotmail.com (Shifeux)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ZModem Problems
Date: 15 Nov 2001 07:32:16 -0800
Organization: http://groups.google.com/
Lines: 87
Message-ID: <336f652d.0111150732.18b42f4f@posting.google.com>
References: <336f652d.0111141329.b5d3ad@posting.google.com> <9suos6$puh$1@newsmaster.cc.columbia.edu>
NNTP-Posting-Host: 146.145.217.201
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1005838336 13985 127.0.0.1 (15 Nov 2001 15:32:16 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 15 Nov 2001 15:32:16 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12970
> You mean, when running Zmodem software as an external protocol
> over a Kermit connection?
I think so, I am using the kermit client to connect to a remote host
which only supports the zmodem transfer protocol. I was under the
impression that kermit has its own way of handling the zmodem protocol
by the set proto z statement at the begining of my script?
> : ... but I get the following error using my
> : script after issuing a receive * command:
> :
> : Readline:TIMEOUT
> : Retry 0: Got TIMEOUT
> :
> These are messages from the Zmodem software.
Thats what I thought, the transfer works sometimes and other times it
does not. My problem is that I would need some way to trap that error
so the script does not halt. Any ideas?
> : This "timeout" seems to be the same time (after 10 seconds) regardless
> : of what I set my client timeout to. My modem settings are as follows.
> :
> : set file type binary
> : set proto z {rz} {rz -a} {sz %s} {sz -a %s}
> : set exit on-disconnect on
> : set exit warning off
> : ; set macro error on
> : set receive timeout 94 <--
> : set send timeout 15 dynamic <--
> : set modem type usrobotics
> : set line /dev/tty01
> : set speed 38400
> : set flow xon/xoff
> :
> The marked lines are effective only for Kermit transfers.
> SET FLOW XON/XOFF might (or might not) interfere with Zmodem protocol.
i turned it off and tested it and it had no effect on the timeouts.
> : utput \13
> Missing "o".
:-) my copy/paste was a little bad, the "o" is there
> : output \%s\13
> :
> : input 20 {Username:}
> : output USER\13
> :
> : input 20 {Password:}
> : output PASS\13
> :
> : input 20 {Transfer id:}
> : output PASSAGAIN\13
> :
> : input 20 {Enter choice:}
> : output 2\13
> :
> You're not checking any of these INPUTs for failure. Thus even if you
> script doesn't work, it will still start Zmodem in receive mode, and of
> Zmodem will time out if there is no connection.
I did have "if failure timeout" to catch this but i was experimenting
due to the timeout errors i was receiving. Made no difference either
way for me. The same timeout occurs.
> : receive *
>
> What's the "*"? This tells Kermit to save the incoming file under the
> name "*" (literally). You probably didn't mean that. Just leave it off.
This is what I type to get the files from the remote host. In
interactive mode typing receive * will transfer all the files in my
outbin on the remote host to the local pwd with the appropriate file
names.
I am able to use the very same commands in interactive mode and
transfer files easily, however I think I am missing a parameter
somewhere for the script. I have never seen the timeout errors while
going through these steps manually unscripted.
> - Frank